import Layout from '@/layout'

export default {
  path: '/employee',
  component: Layout,
  redirect: '/employee/list',
  meta: {
    title: '员工管理',
    icon: 'five'
  },
  children: [
    {
      path: 'count',
      component: () => import('@/views/employee/employee-count/index'), // Parent router-view
      name: 'count',
      meta: { title: '人效统计' }
    },
    {
      path: 'list',
      component: () => import('@/views/employee/employee-list/index'),
      name: 'list',
      meta: { title: '人员列表' }
    },
    {
      path: 'work',
      component: () => import('@/views/employee/employee-work/index'),
      name: 'work',
      meta: { title: '工作量列表' }
    }
  ]
}
